package com.cloudlead.dictionaryAction.service;

import com.cloudlead.common.lang.persistence.Page;
import com.cloudlead.commonData.vo.*;
import com.cloudlead.dictionaryService.vo.*;
import com.cloudlead.dictionaryService.vo.BaseShipRouteVo;

import java.util.List;

/**
 * Created by Administrator on 2015/10/28.
 */
public interface  ManagementSer {
    public Page<BaseCompanyUser> companyList(RegCompanyVo regCompanyVo, int rows, int page);
    public Object audit(String companyId);
    public Object companyInfo(String id);
    public Page<BaseVoyage> voyageList(BaseVoyageVo baseVoyageVo,int rows, int page);
    public Page<TbLog> tbLogList(TbLogVo tbLogVo,int rows, int page);
    public Page<TbImportLog> importLog(TbImportLogVo tbImportLogVo, int rows, int page);
    public Page<TbMailLog> mailLog(TbMailLogVo tbMailLogVo, int rows, int page);
    public Page<BaseDock> baseDock(BaseDockVo baseDockVo, int rows, int page);
    public Page<BaseDoor> baseDoor(BaseDoorVo baseDoorVo, int rows, int page);
    public void delCompany(String companyId);
    public void delDock(String id);
    public Page<BaseShipRoute> baseShipRoute(BaseShipRouteVo vo,int rows,int page);
    public void delShipRoute(String id);
    public String createShipRoute(BaseShipRouteVo vo);
    public String editShipRoute(BaseShipRouteVo vo);
    public List<BasePortVo> findAllPort(BasePortVo vo);
    public List findOnePort(BasePortVo vo);
    public Page<BasePort> basePort(BasePortVo vo,int rows,int page);
    public void delBasePort(String id);
    public String createPort(BasePortVo vo);
    public String editPort(BasePortVo vo);
}
